chore: Install demo scripts to bin#85
chore: Install demo scripts to bin#85EverWinter23 wants to merge 1 commit intoArthur-Ficial:mainfrom
Conversation
Adds an "Install demos globally (optional)" section to demo/README.md with an apfel- prefixed symlink pattern that avoids PATH name collisions (port vs MacPorts, cmd vs common shell variable, etc.). Each demo script gets a one-line header pointing readers to that section. Demos stay intentionally out of `brew install apfel` / `make install`: names like `cmd`, `port`, `explain`, `naming` are too generic for global PATH, and users who want them available as commands can now follow the documented pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Hey @EverWinter23 - thanks for the PR and for actually trying the demos on real workflows. That kind of dogfooding is genuinely useful feedback, even when it surfaces limitations. After thinking it through, I've decided not to merge this as-is, but I've landed the intent behind it in a different shape. Here's the reasoning: Why not auto-install to
What I did instead (commit ccf8e23 on main):
The recommended pattern from the README: mkdir -p "$HOME/.local/bin"
for d in cmd explain gitsum mac-narrator naming oneliner port wtd; do
ln -sf "$(pwd)/demo/\$d" "\$HOME/.local/bin/apfel-\$d"
doneThis gives users who want the demos globally the exact thing your PR was reaching for, without the collision + sudo + dangling-symlink risks of baking it into Closing the PR but genuinely appreciated the nudge - the docs improvement wouldn't have happened without it. Feel free to open new PRs anytime. |
Summary
This change installs the demo scripts to bin dir via make.
The project was quite intriguing. I gave it a go. Unfortunately, the local model is not powerful enough to be useful.
However, it maybe possible that the next set of local models can come in handy in everyday workflows.